package com.mathpractise.model;

import com.mathpractise.model.enums.ModuleType;
import com.mathpractise.model.enums.QuestionType;
import com.mathpractise.model.enums.TrainingModeType;

/**
 * 训练配置实体类
 */
public class TrainingConfig {
    
    /**
     * 模块类型
     */
    private ModuleType moduleType;
    
    /**
     * 训练模式类型
     */
    private TrainingModeType trainingModeType;
    
    /**
     * 训练时长（分钟） - 限时模式下使用
     */
    private Integer durationMinutes;
    
    /**
     * 题目数量 - 限题数模式下使用
     */
    private Integer questionCount;
    
    /**
     * 题目类型
     */
    private QuestionType questionType;
    
    /**
     * 选项个数
     */
    private Integer optionCount;
    
    /**
     * 单题作答时间（秒） - 闪卡模式下使用
     */
    private Integer perQuestionTimeSeconds;
    
    public TrainingConfig() {
    }
    
    // Getters and setters
    
    public ModuleType getModuleType() {
        return moduleType;
    }
    
    public void setModuleType(ModuleType moduleType) {
        this.moduleType = moduleType;
    }
    
    public TrainingModeType getTrainingModeType() {
        return trainingModeType;
    }
    
    public void setTrainingModeType(TrainingModeType trainingModeType) {
        this.trainingModeType = trainingModeType;
    }
    
    public Integer getDurationMinutes() {
        return durationMinutes;
    }
    
    public void setDurationMinutes(Integer durationMinutes) {
        this.durationMinutes = durationMinutes;
    }
    
    public Integer getQuestionCount() {
        return questionCount;
    }
    
    public void setQuestionCount(Integer questionCount) {
        this.questionCount = questionCount;
    }
    
    public QuestionType getQuestionType() {
        return questionType;
    }
    
    public void setQuestionType(QuestionType questionType) {
        this.questionType = questionType;
    }
    
    public Integer getOptionCount() {
        return optionCount;
    }
    
    public void setOptionCount(Integer optionCount) {
        this.optionCount = optionCount;
    }
    
    public Integer getPerQuestionTimeSeconds() {
        return perQuestionTimeSeconds;
    }
    
    public void setPerQuestionTimeSeconds(Integer perQuestionTimeSeconds) {
        this.perQuestionTimeSeconds = perQuestionTimeSeconds;
    }
}